package com.reliable.api.param.user;

import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import lombok.Data;

/**
 * @author yuyantao
 * ClassName: UserUpdatePasswordParam
 * date: 2025/7/15 16:07
 */
@Data
public class UserUpdatePasswordParam {

    @NotBlank
    private Long id;

    /**
     * 原密码
     */
    @NotBlank
    @Size(min = 9, max = 16)
    @ApiModelProperty(value = "密码")
    private String password;

    /**
     * 新密码
     */
    @NotBlank
    @Size(min = 9, max = 16)
    @ApiModelProperty(value = "密码")
    private String new_password;

    /**
     * 确认密码 (加密)
     */
    @NotBlank
    @Size(min = 9, max = 16)
    @ApiModelProperty(value = "确认密码")
    private String confirm_password;


}
